package com.tmt.im.service.controller.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

import java.io.Serial;
import java.io.Serializable;

/**
 * 群成员信息
 *
 * @Description TODO
 * @Author wuyi
 * @Date 2024/8/7 11:34
 * @Version 1.0
 **/
@Getter
@Setter
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@Tag(name="WaitingCheckMemberInfo", description = "待审核的群成员信息对象")
public class WaitingCheckMemberInfo implements Serializable {

    @Serial
    private static final long serialVersionUID = -3893421610285003419L;

    @Schema(description = "入群申请ID")
    private Long applyId;

    @Schema(description = "用户的群昵称")
    @JsonProperty("userName")
    private String nickname;

    @Schema(description = "用户的头像")
    @JsonProperty("userAvatar")
    private String avatar;

    @Schema(description = "成员的会员编号")
    @JsonProperty("userMemberCode")
    private String memberCode;

    @Schema(description = "群名称")
    @JsonProperty("groupName")
    private String sessionName;

    @Schema(description = "当前审核状态：0——未审核；1——审核通过；2——审核不通过")
    @JsonProperty("applyState")
    private int checkStatus;

    @Schema(description = "邀请人群昵称")
    @JsonProperty("inviteName")
    private String inviterName;

}
